import request from '@/utils/request'
import { commonApiPath } from './settings'
let BASE_API = process.env.VUE_APP_BASE_API;
const url = `/${commonApiPath}`


export const updateFlieUrl = BASE_API + url + '/file/uploadFile';
export function uploadFile(data) {
  return request({url:updateFlieUrl, data})
}
export function deleteFile(data) {
  return request(url + '/file/delete', data)
}